<?php

namespace App\Library\Requests\Product;

use App\Library\Requests\Base\BaseDTORequest;
use App\Library\Rules\IdsRule;
use App\Library\Rules\ValidationEncryptUserIdRule;

class ProductBuyWillListRequest extends BaseDTORequest
{
    public function rules(): array
    {
        return [
            'sellerId' => ['required', 'string', new ValidationEncryptUserIdRule],
            'productsId' => ['nullable', 'array', new IdsRule]
        ];
    }
}
